<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page
	import="org.apache.shiro.web.filter.authc.FormAuthenticationFilter"%>
<%@ page import="org.apache.shiro.authc.ExcessiveAttemptsException"%>
<%@ page import="org.apache.shiro.authc.IncorrectCredentialsException"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我的珠宝店后台管理</title>

<link href="static/jui/1.4.6/themes/default/style.css" rel="stylesheet"
	type="text/css" media="screen" />
<link href="static/jui/1.4.6/themes/css/core.css" rel="stylesheet"
	type="text/css" media="screen" />
<link href="static/jui/1.4.6/themes/css/print.css" rel="stylesheet"
	type="text/css" media="print" />
<link href="static/jui/1.4.6/uploadify/css/uploadify.css"
	rel="stylesheet" type="text/css" media="screen" />
<!--[if IE]>
<link href="static/jui/1.4.6/themes/css/ieHack.css" rel="stylesheet" type="text/css" media="screen"/>
<![endif]-->
<!--[if lte IE 9]>
<script src="static/jui/1.4.6/js/speedup.js" type="text/javascript"></script>
<![endif]-->

<script src="static/jui/1.4.6/js/jquery-1.7.2.js" type="text/javascript"></script>
<script src="static/jui/1.4.6/js/jquery.cookie.js"
	type="text/javascript"></script>
<script src="static/jui/1.4.6/js/jquery.validate.js"
	type="text/javascript"></script>
<script src="static/jui/1.4.6/js/jquery.bgiframe.js"
	type="text/javascript"></script>
<script src="static/jui/1.4.6/xheditor/xheditor-1.2.1.min.js"
	type="text/javascript"></script>
<script src="static/jui/1.4.6/xheditor/xheditor_lang/zh-cn.js"
	type="text/javascript"></script>
<script src="static/jui/1.4.6/uploadify/scripts/jquery.uploadify.js"
	type="text/javascript"></script>

<!-- svg图表  supports Firefox 3.0+, Safari 3.0+, Chrome 5.0+, Opera 9.5+ and Internet Explorer 6.0+ -->
<!-- <script type="text/javascript" src="chart/raphael.js"></script>
<script type="text/javascript" src="chart/g.raphael.js"></script>
<script type="text/javascript" src="chart/g.bar.js"></script>
<script type="text/javascript" src="chart/g.line.js"></script>
<script type="text/javascript" src="chart/g.pie.js"></script>
<script type="text/javascript" src="chart/g.dot.js"></script> -->

<script src="static/jui/1.4.6/js/dwz.min.js" type="text/javascript"></script>
<script src="static/jui/1.4.6/js/dwz.regional.zh.js"
	type="text/javascript"></script>
<script type="text/javascript">
	$(function() {
		DWZ.init("static/jui/1.4.6/dwz.frag.xml", {
			loginUrl : "login_dialog.html",
			loginTitle : "登录", // 弹出登录对话框
			//		loginUrl:"login.html",	// 跳到登录页面
			statusCode : {
				ok : 200,
				error : 300,
				timeout : 301
			}, //【可选】
			pageInfo : {
				pageNum : "pageNum",
				numPerPage : "numPerPage",
				orderField : "orderField",
				orderDirection : "orderDirection"
			}, //【可选】
			debug : false, // 调试模式 【true|false】
			callback : function() {
				initEnv();
				$("#themeList").theme({
					themeBase : "static/jui/1.4.6/themes"
				}); // themeBase 相对于index页面的主题base路径
			}
		});
	});
</script>
</head>

<body scroll="no">
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				<!-- 				<a class="logo" href="#">标志</a> -->
				<ul class="nav">
					<li><a>您好，欢迎来到我的珠宝店&nbsp;&nbsp;${cUser.loginName }</a></li>
					<li><a href="${ctx }/account/user/toModifyPassword" target="dialog" width="600">修改密码</a></li>
					<li><a href="${ctx }/logout">退出</a></li>
				</ul>
				<ul class="themeList" id="themeList">
					<li theme="default"><div class="selected">蓝色</div></li>
					<li theme="azure"><div>天蓝</div></li>
				</ul>
			</div>

			<!-- navMenu -->

		</div>

		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse">
						<div></div>
					</div>
				</div>
			</div>
			<div id="sidebar">
				<div class="toggleCollapse">
					<h2>主菜单</h2>
					<div>收缩</div>
				</div>

				<div class="accordion" fillSpace="sidebar">
					<div class="accordionContent">
						<ul class="tree treeFolder">
									<li><a href="${ctx }/account/user" target="navTab"
										rel="w_user">用户管理</a></li>
										<li><a href="${ctx }/jewel" target="navTab"
										rel="w_jewel">钻石管理</a></li>
										<li><a href="${ctx }/ring" target="navTab"
										rel="w_ring">戒托管理</a></li>
										<li><a href="${ctx }/order" target="navTab"
										rel="w_order">订单管理</a></li>
										<c:if test="${cUser.type==0 }">
										<li><a href="${ctx }/exchangeRate" target="navTab"
										rel="w_exchangeRate">汇率管理</a></li>
										</c:if>
						</ul>
					</div>
				</div>
			</div>
		</div>
		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent">
						<!-- 显示左右控制时添加 class="tabsPageHeaderMargin" -->
						<ul class="navTab-tab">
							<li tabid="main" class="main"><a href="javascript:;"><span><span
										class="home_icon">我的主页</span></span></a></li>
						</ul>
					</div>
					<div class="tabsLeft">left</div>
					<!-- 禁用只需要添加一个样式 class="tabsLeft tabsLeftDisabled" -->
					<div class="tabsRight">right</div>
					<!-- 禁用只需要添加一个样式 class="tabsRight tabsRightDisabled" -->
					<div class="tabsMore">more</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:;">西普珠宝</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent layoutBox">
					<div class="page unitBox">
						<div class="accountInfo">
							<p>
								<span>欢迎进入我的珠宝店后台管理</span>
							</p>
						</div>
						<div class="pageFormContent" layoutH="80"
							style="margin-right: 230px"></div>

						<div style="width: 230px; position: absolute; top: 60px; right: 0"
							layoutH="80"></div>
					</div>

				</div>
			</div>
		</div>

	</div>

	<div id="footer">
		Copyright &copy; 2013 <a href="#" target="dialog">Example</a>
	</div>
</body>
</html>